package cn.supermarket.pojo.dto;

import lombok.Data;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class AddOrderDTO implements Serializable {

    //采购商
    @NotNull
    private String purchaser;
    //是否锁定
    private Integer isEnable;
    //是否可见
    private Integer isDisplay;
    //是否作废
    private Integer isCancel;
    //备注
    private String remarks;
    //商品集合
    @NotNull
    private List<OrderItemDTO>orderItemDTOS;
}
